package com.homework5;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Arrays;

public class demo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream(new File("E:\\东方标准\\JAVASE阶段\\JAVASE-CODE\\Day18\\i.txt"));
        byte[] arr=new byte[10];
        int len=0;
        while ((len=fis.read(arr))!=-1){
            System.out.println(Arrays.toString(arr));
        }
        fis.close();
    }
}
